package com.rectcircle.scalatrateset.controller

import org.scalatra.ScalatraServlet
import org.scalatra.swagger.{ApiInfo, NativeSwaggerBase, Swagger}

class ResourcesApp(implicit val swagger: Swagger) extends ScalatraServlet with NativeSwaggerBase

//
//object FlowersApiInfo extends ApiInfo(
//	"The Flowershop API",
//	"Docs for the Flowers API",
//	"http://scalatra.org",
//	"apiteam@scalatra.org",
//	"MIT",
//	"http://opensource.org/licenses/MIT")
//
//class FlowersSwagger extends Swagger(Swagger.SpecVersion, "1.0.0", FlowersApiInfo)
object FlowersSwagger{
	val Info = ApiInfo(
		"The Flowershop API",
		"Docs for the Flowers API",
		"http://scalatra.org",
		"apiteam@scalatra.org",
		"MIT",
		"http://opensource.org/licenses/MIT")
}
class FlowersSwagger extends Swagger(Swagger.SpecVersion, "1.0.0", FlowersSwagger.Info)
